package io;

import java.io.File;

public class CreateFolder {
	
	public final static String foldername = "createfolder";

	/**
	 * @param args
	 * @see <a href="http://www.cnblogs.com/rollenholt/archive/2011/09/11/2173787.html">参考文档</a>
	 */
	public static void main(String[] args) {
		File file = new File(foldername);
		boolean ret = file.mkdir();
		System.out.println("开始准备创建文件夹 >>>");
		if(ret){
			System.out.println("你刚刚成功创建了一个文件夹 "+file.getName());
		}else{
			System.out.println("你没有成功创建一个文件夹 "+file.getName());
		}

	}

}
